package com.wnxy.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.admin.dto.MaintenancePersonDto;
import com.wnxy.admin.dto.PageResult;
import com.wnxy.admin.entity.MaintenancePersonnel;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface IMaintenancePersonnelService extends IService<MaintenancePersonnel> {
    void addPerson(MaintenancePersonnel maintenancePersonnel);

    void removeBatchPerson(List<Long> maintenancePersonnelIds);

    void editPerson(MaintenancePersonnel maintenancePersonnel);

    PageResult queryPerson(MaintenancePersonDto maintenancePersonDto);

    List<MaintenancePersonnel> getAllIdleStaff();

    List<MaintenancePersonnel> getIdlePeople(Long operatorId);
}
